//
//  MedListTableViewCell.m
//  idoctor
//
//  Created by Mr Lee on 2017/6/1.
//  Copyright © 2017年 Mr Lee. All rights reserved.
//

#import "MedListTableViewCell.h"

@implementation MedListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setModel:(medModel *)model
{

    _model = model;
    
    [_imgV sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://tnfs.tngou.net/image%@",model.img]] placeholderImage:[UIImage imageNamed:@"1.jpeg"]];
    
    _nameL.text = model.name;
    _desL.text = model.medDes;

}
@end
